import React, { PureComponent } from 'react';
import { Card } from 'antd';
import { connect } from 'dva';
import PageHeaderLayout from '../../layouts/PageHeaderLayout';
// import classNames from 'classnames';
// import styles from './SummaryDetail.less'

@connect(({ global, loading }) => ({
  global,
  quetyLoading: loading.effects['global/queryPage'],
}))
export default class SummaryDetail extends PureComponent {
  // 数据初始化
  componentDidMount() {
    const {
      match: { params },
    } = this.props;
    console.log(params);
  }

  render() {
    return (
      <PageHeaderLayout>
        <Card bordered={false}>SummaryDetail</Card>
      </PageHeaderLayout>
    );
  }
}
